<template>
  <div>
    <mt-swipe :auto="4000">
      <mt-swipe-item>
        <img
          src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1544860715378&di=31a283577252d07a1c3389087306a7c8&imgtype=0&src=http%3A%2F%2Fi1.hdslb.com%2Fbfs%2Farchive%2F1c6d76f454124b146e810dfb8917a91079a4d920.jpg"
          alt="ftm"
        >
      </mt-swipe-item>
      <mt-swipe-item>
        <img
          src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1544860889569&di=3747b41a4a979128d6905553a6ff04fb&imgtype=0&src=http%3A%2F%2Fhimg2.huanqiu.com%2Fattachment2010%2F2018%2F1107%2F20181107063225329.jpg"
          alt="ftm"
        >
      </mt-swipe-item>
      <mt-swipe-item>
        <img
          src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1544860935267&di=032bcb56f49bda5bf8a14a6396889a1e&imgtype=0&src=http%3A%2F%2Fp1.ssl.cdn.btime.com%2Ft01cd3790f1664b8b40.jpg%3Fsize%3D640x456"
          alt="ftm"
        >
      </mt-swipe-item>
    </mt-swipe>

    <ul class="mui-table-view mui-grid-view mui-grid-9">
      <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
        <router-link to="/home/newslist">
          <!-- <span class="mui-icon mui-icon-home"></span> -->
          <img src="../../images/menu1.png">
          <div class="mui-media-body">新闻资讯</div>
        </router-link>
      </li>
      <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
        <router-link to="/home/photoList">
          <img src="../../images/menu2.png">
          <div class="mui-media-body">图片分享</div>
        </router-link>
      </li>
      <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
        <router-link to="/home/PurchaseGoods">
          <img src="../../images/menu3.png">
          <div class="mui-media-body">商品购买</div>
        </router-link>
      </li>
      <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
        <router-link to="/home/message">
          <img src="../../images/menu4.png">
          <div class="mui-media-body">留言反馈</div>
        </router-link>
      </li>
      <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
        <router-link to="/home/video">
          <img src="../../images/menu5.png">
          <div class="mui-media-body">视频专区</div>
        </router-link>
      </li>
      <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
        <router-link to="/home/contactUs">
          <img src="../../images/menu6.png">
          <div class="mui-media-body">联系我们</div>
        </router-link>
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  data() {
    return {
    
    };
  },
  created() {
    this.getLunbotu();
  },
  methods: {
    //获取轮播图数据的方法
    getLunbotu(){
        this.$http.get("item/536563").then(result=>{
            console.log(result.body)
        })
    }
  }
};
</script>

<style lang="scss" scoped>
.mint-swipe {
  height: 200px;

  .mint-swipe-item {
    img {
      width: 100%;
      height: 100%;
    }
    &:nth-child(1) {
      background-color: red;
    }
    &:nth-child(2) {
      background-color: yellow;
    }
    &:nth-child(3) {
      background-color: green;
    }
  }
}
.mui-grid-view.mui-grid-9 {
    background-color: #fff;
    border: none;
    img {
      width:60px;
      height: 60px;
    }
    .mui-media-body{
      font-size: 15px;
    }
}
.mui-grid-view.mui-grid-9 .mui-table-view-cell {
    border: none;
}
</style>